<div class="modal-header">
    <h4 class="modal-title">{{'upload_file' | translate }}</h4>
</div>
<div class="modal-body">
	<form class="form-horizontal" name="drmForm">
		<div class="form-group" ng-show="dropFile">
			<label class="col-sm-4 control-label">{{'file' | translate }}</label>
			<div class="col-sm-8">
				<p class="form-control-static">{{dropFile.name}}</p>
			</div>
		</div>
		<div class="form-group" ng-show="!dropFile">
			<label class="col-sm-4 control-label">{{'file' | translate }}</label>
			<div class="col-sm-8">
				<input type="file" style="padding-top: 6px;" file-model="file" required/>
			</div>
		</div>
		<div class="form-group">
			<label class="col-sm-4 control-label">{{'free_preview_pages' | translate }}</label>
			<div class="col-sm-8">
				<input type="number" class="form-control" placeholder="{{'free_preview_pages' | translate }}" ng-model="freePreviewPages" required>
			</div>
		</div>
	</form>
</div>
<div class="modal-footer">
    <button class="btn btn-warning" type="button" ng-click="cancel()">{{'cancel' | translate }}</button>
    <button class="btn btn-primary" type="button" ng-click="ok()" ng-disabled="isDisabled()">{{'ok' | translate }}</button>
</div>